<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="childrenBody">
	<form class="layui-form" style="width:80%;margin-top: 10px">
		<input id="treeId" name="parentId" type="hidden" th:value="${dept.deptId}"   />
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">上级部门</label>
			<div class="layui-input-block">
				<input type="text" name="treeName"  id="treeName"  readonly="readonly" class="layui-input treeName" lay-verify="required" th:value="${dept.deptName}">
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">部门名称</label>
			<div class="layui-input-block">
				<input  type="text" class="layui-input deptName" lay-verify="required" name="deptName" id="deptName" >
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">显示排序</label>
			<div class="layui-input-block">
				<input type="number" name="orderNum" id="orderNum" class="layui-input orderNum" lay-verify="number" >
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">负责人</label>
			<div class="layui-input-block">
				<input type="text" name="leader"  id="leader" class="layui-input leader" lay-verify="required" >
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<label class="layui-form-label">联系电话</label>
			<div class="layui-input-block">
				<input type="text" name="phone" id="phone" class="layui-input phone" lay-verify="required" >
			</div>
		</div>
		<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block">
				<button class="layui-btn " lay-submit="" lay-filter="add">立即添加</button>
				<button type="button" class="layui-btn  layui-btn-primary close">取消</button>
			</div>
		</div>
	</form>
	<div th:include="include::footer"></div>
	<script th:src="@{/js/dept/add.js}"></script>
</body>
</html>